package com.panshi.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("回答表下的评论实体类")
public class AnswerComBean implements Serializable {
    @ApiModelProperty("回答评论表id")
    private int acid;

    @ApiModelProperty("回答表id")
    private int answer_id;

    @ApiModelProperty("用户id")
    private int uid;

    @ApiModelProperty("父评论id")
    private int parentid;

    @ApiModelProperty("状态(0 伪删除 1正常)")
    private int state;

    @ApiModelProperty("层级")
    private int depth;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("评论时间")
    private Date time;

    @ApiModelProperty("点赞量")
    private int read_count;

    @ApiModelProperty("创建时间")
    private Date created_time;

    @ApiModelProperty("更新时间")
    private Date updated_time;

}
